<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
        <form action='http://127.0.0.1:8002/login' method="post">
            <p>账户:<input type='text' name='username' > </input>  </p>
            <p>密码:<input type='password' name='password' > </input>  </p>
            {% if msg %}
            <p> {{ msg }} </p>>
            {% end %}
            <p><input type='submit' value='登录' > </input>  </p>
            <a href="/reg">注册</a>
        </form>
</body>
</html>